<!-- 模块说明 -->
<style lang="scss" scoped>
  .buttonCombination {
    margin-top: 12px;
    .btn {
      margin-right: 30px;
    }
  }
</style>

<template>
  <div class="buttonCombination" :style="`margin-left:${leftWidth}`">
    <el-button
      type="danger" @click="emits('submit',undefined)"
      class="btn"
    >
      {{ okTest }}
    </el-button>
    <el-button @click="emits('back',undefined)">
      {{ noTest }}
    </el-button>
  </div>
</template>

<script setup lang="ts">
defineProps({
  okTest: {
    type: String,
    default: '提交'
  },
  noTest: {
    type: String,
    default: '返回'
  },
  leftWidth: {
    type: String,
    default: '30px'
  }
})
const emits = defineEmits(['submit', 'back'])

 
</script>